-- GENERATED SPELL FOR [Raven] --


function spell0_7605(pUnit, Event) --@Backstab,n/a--
pUnit:FullCastSpellOnTarget(7159,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_7605', 592, 1)
end

function spell1_7605(pUnit, Event) --@Gouge,n/a--
pUnit:FullCastSpellOnTarget(12540,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_7605', 4261, 1)
end

function Sorts_7605(pUnit, Event)
local choix_sorts_7605 = math.random(0, 1)
if choix_sorts_7605 == 0 then
pUnit:RegisterEvent('spell0_7605', 1, 1)
end
if choix_sorts_7605 == 1 then
pUnit:RegisterEvent('spell1_7605', 1, 1)
end
end

function mob7605_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_7605', math.random(1500, 3000), 1)
end

function mob7605_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob7605_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob7605_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(7605, 1, 'mob7605_Action')
RegisterUnitEvent(7605, 2, 'mob7605_Leave')
RegisterUnitEvent(7605, 3, 'mob7605_Kill')
RegisterUnitEvent(7605, 4, 'mob7605_Die')
